SGGetChannelInfo
TheSGGetChannelInfo
function allows the sequence grabber to determine how a channel's data is represented to the user--as visual or audio data, or both.
pascal ComponentResult SGGetChannelInfo (SGChannel c, long *channelInfo);
c
- Identifies the channel connection for this operation.
channelInfo
- Contains a pointer to a long integer that is to receive channel information flags. You may set more than one flag to 1. Set unused flags to 0. The following flags are defined:
seqGrabHasBounds
- Indicates that your channel has a visual representation. If you set this flag to 1, the channel has a visual representation. The sequence grabber component may call your
SGSetChannelBounds
function (described on page 6-60).seqGrabHasVolume
- Indicates that your channel has an audio representation. If you set this flag to 1, the channel has an audio representation. The sequence grabber component may call your
SGSetChannelVolume
function (described on page 6-75).seqGrabHasDiscreteSamples
- Indicates that the data captured by your channel component is organized into discrete frames. If you set this flag to 1, the sequence grabber component may use the
SGSetChannelMaxFrames
function (described on page 6-50) to limit the number of frames processed in a record operation or the rate at which those frames are processed. If your channel's data is not organized into frames, set this flag to 0.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help